import Layout from '@/layout'
export default {
  path: '/substance',
  component: Layout,
  meta: { title: '内容管理', icon: 'form' },
  children: [
    {
      path: 'class',
      name: 'classify',
      component: () => import('@/views/substance/classify'),
      meta: { title: '分类管理', icon: 'link' }
    },
    {
      path: 'tally',
      name: 'tally',
      component: () => import('@/views/substance/tally'),
      meta: { title: '标签管理', icon: 'tree' }
    },
    {
      path: 'article',
      name: 'article',
      component: () => import('@/views/substance/article'),
      meta: { title: '文章管理', icon: 'nested' }
    },
    {
      path: 'addarticle',
      name: 'addarticle',
      component: () => import('@/components/article/Addarticle'),
      hidden: true
    }
  ]
}
